﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace HelenServer.BugEngine.Dal;

[Table("Module")]
public partial class Module
{
    [Key]
    public int Id { get; set; }

    public virtual Product Product { get; set; } = null!;

    [StringLength(64)]
    [Unicode(false)]
    public string Name { get; set; } = null!;

    public virtual Product? Parent { get; set; }

    public int? Owner { get; set; }

    public bool Deleted { get; set; } = false;
}